package com.ih.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ih.pojo.Customer;
import com.ih.pojo.Worker;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkerMapper extends BaseMapper<Worker> {
    /**
     * 模糊查询
     * @param worker
     * @return
     */
    List<Worker> listWorker(Worker worker);

    int addSalary(@Param("wid") Integer wid,@Param("workerSalary")Integer workerSalary);
}
